package com.reading.message.service;

/**
 * @author wangchaodz@gmail.com
 * @Description: ${todo}
 * @date 2018/9/18 9:38
 */
public interface SmsService {

    /**
     * 注册时，发送短信验证码
     */
    int sendSmsCode(String smsCodeType, String mobileNo, String smsCode);

    /**
     * 注册时，验证短信验证码
     */
    boolean checkSmsCode(String smsCodeType, String mobileNo, String smsCode);
}
